<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>维保记录</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="tCarMaintController.do?doAdd" >
					<input id="id" name="id" type="hidden" value="${tCarMaintPage.id }"/>
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							维修类型:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="mtType" type="list"  typeGroupCode="mt_type"  defaultVal="${tCarMaintPage.mtType}" hasLabel="false"  title="维修类型" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">维修类型</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							车牌号:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="carNo" type="list"  dictTable="t_car_info" dictField="car_num" dictText="car_num"  defaultVal="${tCarMaintPage.carNo}" hasLabel="false"  title="车牌号" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">车牌号</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							维修日期:
						</label>
					</td>
					<td class="value">
							   <input id="mtDate" name="mtDate" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()"  ignore="ignore" />    
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">维修日期</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							里程:
						</label>
					</td>
					<td class="value">
					     	 <input id="mtLicheng" name="mtLicheng" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">里程</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							维修单位:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="mtOrg" type="list"  dictTable="t_car_wb" dictField="wb_name" dictText="wb_name"  defaultVal="${tCarMaintPage.mtOrg}" hasLabel="false"  title="维修单位" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">维修单位</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							费用:
						</label>
					</td>
					<td class="value">
					     	 <input id="mtCost" name="mtCost" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">费用</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							驾驶员:
						</label>
					</td>
					<td class="value">
					     	 <input id="mtUser" name="mtUser" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">驾驶员</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							备注:
						</label>
					</td>
					<td class="value">
					     	 <input id="mtRemark" name="mtRemark" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">备注</label>
						</td>
					</tr>
				<%--<tr>--%>
					<%--<td align="right">--%>
						<%--<label class="Validform_label">--%>
							<%--备用1:--%>
						<%--</label>--%>
					<%--</td>--%>
					<%--<td class="value">--%>
					     	 <%--<input id="mtBy1" name="mtBy1" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />--%>
							<%--<span class="Validform_checktip"></span>--%>
							<%--<label class="Validform_label" style="display: none;">备用1</label>--%>
						<%--</td>--%>
					<%--<td align="right">--%>
						<%--<label class="Validform_label">--%>
							<%--备用2:--%>
						<%--</label>--%>
					<%--</td>--%>
					<%--<td class="value">--%>
					     	 <%--<input id="mtBy2" name="mtBy2" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />--%>
							<%--<span class="Validform_checktip"></span>--%>
							<%--<label class="Validform_label" style="display: none;">备用2</label>--%>
						<%--</td>--%>
					<%--</tr>--%>
				<%--<tr>--%>
					<%--<td align="right">--%>
						<%--<label class="Validform_label">--%>
							<%--备用3:--%>
						<%--</label>--%>
					<%--</td>--%>
					<%--<td class="value">--%>
					     	 <%--<input id="mtBy3" name="mtBy3" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />--%>
							<%--<span class="Validform_checktip"></span>--%>
							<%--<label class="Validform_label" style="display: none;">备用3</label>--%>
						<%--</td>--%>
					<%--<td align="right">--%>
						<%--<label class="Validform_label">--%>
							<%--备用4:--%>
						<%--</label>--%>
					<%--</td>--%>
					<%--<td class="value">--%>
					     	 <%--<input id="mtBy4" name="mtBy4" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />--%>
							<%--<span class="Validform_checktip"></span>--%>
							<%--<label class="Validform_label" style="display: none;">备用4</label>--%>
						<%--</td>--%>
					<%--</tr>--%>
				<%--<tr>--%>
					<%--<td align="right">--%>
						<%--<label class="Validform_label">--%>
							<%--备用5:--%>
						<%--</label>--%>
					<%--</td>--%>
					<%--<td class="value">--%>
					     	 <%--<input id="mtBy5" name="mtBy5" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />--%>
							<%--<span class="Validform_checktip"></span>--%>
							<%--<label class="Validform_label" style="display: none;">备用5</label>--%>
						<%--</td>--%>
				<%--<td align="right">--%>
					<%--<label class="Validform_label">--%>
					<%--</label>--%>
				<%--</td>--%>
				<%--<td class="value">--%>
				<%--</td>--%>
					<%--</tr>--%>
				
				
				<tr>
					<td align="right">
						<label class="Validform_label">
							内容:
						</label>
					</td>
					<td class="value"  colspan="3" >
								<script type="text/javascript"  charset="utf-8" src="plug-in/ueditor/ueditor.config.js"></script>
								<script type="text/javascript"  charset="utf-8" src="plug-in/ueditor/ueditor.all.min.js"></script>
						    	<textarea name="mtDesc" id="mtDesc" style="width: 650px;height:300px"></textarea>
							    <script type="text/javascript">
							        var mtDesc_editor = UE.getEditor('mtDesc');
							    </script>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">内容</label>
						</td>
					</tr>
			</table>
		</t:formvalid>
 </body>
  <script src = "webpage/com/yserp/car/tCarMaint.js"></script>		
